import requests

def get_header():
    url="http://ihrm-java.itheima.net/api/sys/login"
    json_data={"mobile": "13800000002", "password": "929itheima.CN032@.20250418"}
    resp = requests.post(url=url,json=json_data)

    header={"Content-Type": "application/json","Authorization": "Bearer "+resp.json().get("data")}

    print(header)



if __name__ == '__main__':
    get_header()